﻿body, p, b, dl, dd, td, th, input, img, form, div, ul, li, h1, h2, h3, h4, h5, h6, span, select {  margin:0;  padding:0;  }
img, input, label, select {  vertical-align:middle;  }
ol, ul, li {  list-style:none;  }
img, iframe {  border:none;  }
a:link, a:visited {  text-decoration:none;  }
a:hover {  color:#f00;  }
.center {  margin:0 auto;  }
.left {  float:left;  }
.right {  float:right;  }
.red {  color:#f00;  }
.max_width {  width:960px;  }

body {
	background-color:#F0F0F1;
	font:normal 12px/1.5 Arial, 宋体, Helvetica, sans-serif;
}
a {
	color: #000000;
}
#header, nav, main, #content, #footer{
	width:960px;
	margin:0 auto;
}

#header {
	position: relative;
	height:70px;
}

#logo {
	display: inline-block;
	width:180px;
	height:60px;
	margin: 5px;
}

#top_img {
	display: inline-block;
	position: absolute;
	top:0;
	left: 190px;
	overflow: hidden;
	height: 50px;
	padding: 10px 50px;
}

.tools {
	position: absolute;
	top:0;
	right:0;
	margin:5px;
	cursor: pointer;
}

.tools a {
	color:#036C8A;
}

.tools a:hover {
	color:#A40000;
}

nav {
	position: relative;
	height:50px;
	overflow:hidden;
}

nav ul li {
    float: left;
    line-height: 30px;
    font-size: 20px;
    text-align: center;
}

nav ul li a {
	-webkit-transition:all 0.3s;  -moz-transition:all 0.3s;  -ms-transition:all 0.3s;  -o-transition:all 0.3s;
	color: #fff;
    padding: 5px 20px;
    background: #ABABAB;
    margin-right: 2px;
}

nav ul li a:hover{
	color: #000000;
	background: #ff0;
}

nav .notice{
	position: absolute;
	top:0;
	right: 0;
	font-size: 14px;
}

#content {
	overflow:hidden;
}

#cate {
	float:left;
	background-color: #FFF;
	/*border: 1px solid #F00;*/
}

#cate h2 {
	float:left;
	padding:0 16px;
	height:36px;
	line-height:36px;
	font-size:18px;
	color:#000000;
	background-color: #E4E4E4;
}

#cate h2 a{
	display: block;
}

#cate ul {
	float:left;
	border-top: 1px solid #E4E4E4;
	padding:5px 10px;
}

#cate li {
	float:left;
	width:153px;
	height: 30px;
	margin: 5px 0;
}

#cate li a {
	-webkit-transition:all 0.3s;  -moz-transition:all 0.3s;  -ms-transition:all 0.3s;  -o-transition:all 0.3s;
	float:left;
	padding:0 10px;
	line-height:27px;
	height:27px;
	font-size:16px;
	color:#000000;
	width:133px;
	overflow: hidden;
}

#cate li a:hover {
	color:#fff;
	background:#CCCCCC;
	text-decoration:none;
}

#footer {
	height:50px;
	padding:10px;
	line-height:30px;
	font-size:14px;
	text-align:center;
}

.copyright {
	font-family:Tahoma, serif;
	color:#666666;
}

.copyright a {
	color:#07519a
}

@media only screen and (min-width:320px) and (max-width:580px) {
	nav ul li a {
		padding: 5px 6px;
	}
	#banner{
	    display: none;
    }
}
@media only screen and (min-width:0px) and (max-width:1120px) {
	#header, nav, main, #footer {
		width: 92%;
	}
	#content{
		width: 100%;
	}
	#top_img {
		display: none;
	}
	.tools, .notice {
		display: none;
	}
}

main #content .readme{
    font-size: 1.5rem;
    border: solid 1px;
}
